<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>有猫腻官网</title>
    <link rel="stylesheet" href="__PUBLIC__/ymn_admin/css/reset.css" />
    <link rel="stylesheet" href="__PUBLIC__/ymn_admin/css/common.css" />
    <link rel="stylesheet" href="__PUBLIC__/ymn_admin/css/cp.css" />
</head>
<body>
<!--#include file="header.html"-->
<include file="Index/login_header"/>

<div class="wrapper">
    <div class="index_content content">
        <!--<div class="title_top"><h2>下载中心</h2><span>所有下载内容都在这里</span></div>-->
        <div class="title_content">
            <div class="tabs_box">
                <ul class="tabs_ul">
                    <foreach name="sdk_node" item="von">
                    <li><a href="{$von.remark}">{$von.name}</a><i class="triangle-left"></i></li>
                    
                    </foreach>
                </ul>
                <div class="tabs_container">
                    
                    <div id="tabs3" class="tabs_content">
                        <h3>母包测试</h3>
                        <div class="search">
                            <form action="/Test/index" method="get">
                            <input type="hidden" id="hid_id"  name="id" value="2"> 
                            <input type="text" id="content" name="content" placeholder="产品名/状态">
                                <button  type="submit" class="mbcs_ss" >搜

                                </button>
                                <button type="button"class="return">返回</button>
                                
                            </form>
                            
                        </div>
                        <br/>
                        <if condition="$test_admin neq NULL">
                                             
                            <table class="cp_list_table">
                                <thead>
                                <tr>
                                    <th >产品名</th>
                                    <th >版本号</th>
                                    <th >提交时间</th>
                                    <th>下载地址</th>
                                    <th>状态</th>
                                    
                                    
                                </tr>
                                </thead>
                                <tbody>

                                <foreach name="test_admin" item="vot">
                                <tr>
                                    <td>{$vot.app_name}</td>
                                    <td>{$vot.version_name}</td>
                                    <td >
                                        <if condition="$vot.submit_at eq NULL">
                                            {$vot.submit_at}
                                        <else /> 
                                            {$vot.submit_at|date="Y-m-d H:i:s",###}
                                        </if>
                                        
                                    </td>
                                    <td>
                                        <a  href="{$vot.base_package}" data-info='{$vot|json_encode}'class="bj" >下载 </a>
                                    </td>
                                    <td>
                                        <if condition="$vot.status eq 1">
                                            <a  href="javascript:void(0)" data-tjfk='{$vot|json_encode}' class="tjfk">提交反馈</a>
                                        <elseif condition="$vot.status eq 4"/>测试通过
                                        <else /> 测试不通过
                                        </if>
                                        
                                    </td>                                    
                                </tr>
                                </foreach>
                                     
                                </tbody>
                            </table>

                        <else />
                            
                            <h3 class="zwnr">暂无内容<h3>
                            
                        </if>                        
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
</div>
<div class="dialog_bg hide"></div>
<div class="dialog aa hide">

    <div class="dialog_title">
        <h3 class="sp_name"></h3>
        <span class="dialog_close">关闭</span>
    </div>
    <form >
    <div class="bjqdxx">
        <ul>
            <li>
                <label for="bjqdxx_qdm">名称:</label>
                <input id="bjqdxx_qdm" type="text" name="name"/>
                
            </li>
            <li>
                <label>介绍:</label>
                <textarea name="textarea" id="bjqdxx_cjsj" ></textarea>           
            </li>
            <li>
                <label>开放状态:</label>
                <select id="bjqdxx_qdbm" name="xz">
                    <option value="0">开放下载</option>
                    <option value="1">不开放下载</option>
                </select>
            </li>
        </ul>
         <button  type="button" class="qd" id="bjqdxx_btn">确定</button> 
    </div>
    </form>
</div>
<div class="dialog bb hide">

    <div class="dialog_title">
        <h3 class="sp_name"></h3>
        <span class="dialog_close">关闭</span>
    </div>
    <form >
    <div class="bjqdbb">
        <ul>
            <li>
                <label for="bjqdbb_qdm" ><span id="qdbt">*</span>名称:</label>
                <input id="bjqdbb_qdm" type="text" name="name" placeholder="必填"/>
                
            </li>
            <li>
                <label><span id="qdbt">*</span>类型:</label>
                <select id="bjqdbb_lx" name="xz">
                    <option value="0">IOS</option>
                    <option value="1">安卓</option>
                </select>
            </li>
            <li>
                <label for="bjqdbb_bbh"><span id="qdbt">*</span>版本号:</label>
                <input id="bjqdbb_bbh" class="bjqdbb_bbh"type="text" name="version" placeholder="必填"/>
                
            </li>
            <li>
                <label for="bjqdbb_qdwz">渠道网址:</label>
                <input id="bjqdbb_qdwz" type="text" name="channel_url" placeholder="填写渠道网址,如不填,则页面链接不可点击"/>
                
            </li>
            <li>
                <label for="bjqdbb_cslj">参数链接:</label>
                <input id="bjqdbb_cslj" type="text" name="link_url" placeholder="填写参数获取指南链接,如不填,则页面链接不可点击"/>
                
            </li>
            <li>
                <label>简介:</label>
                <textarea name="textarea" id="bjqdbb_jj" ></textarea>           
            </li>
            <li>
                <label><span id="qdbt">*</span>开放状态:</label>
                <select id="bjqdbb_qdbm" name="xz">
                    <option value="0">开放下载</option>
                    <option value="1">暂不开放下载</option>
                </select>
            </li>
            <li>
               <span>开放状态表明是否让用户看到该内容，发布后生效;</span><br/>
               <span>如选择"不开放下载"，无法发布到用户可见页面;</span>
            </li>
        </ul>
         <button  type="button" class="qd" id="bjqdbb_btn">确定</button> 
    </div>
    </form>
</div> 
<div class="dialog cc hide">

    <div class="dialog_title">
        <h3 class="sp_name"></h3>
        <span class="dialog_close">关闭</span>
    </div>
    <form >
    <div class="mbcs">
        <ul>
            <li>
                <label><span id="qdbt">*</span>测试结果:</label>
                <select id="mbcs_jg" name="csjg">
                    <option value="4">通过</option>
                    <option value="3">不通过</option>
                </select>
            </li>
            <li>
                <label>说明:</label>
                <textarea name="textarea" id="mbcs_sm" placeholder="通过无需填写/不通过填写原因"></textarea>           
            </li>
        </ul>
         <button  type="button" class="qd" id="tjfk_btn">确定</button> 
    </div>
    </form>
</div>
<div class="dialog dd hide">

    <div class="dialog_title">
        <h3 class="sp_name"></h3>
        <span class="dialog_close">关闭</span>
    </div>
    <form >
    <div class="xzzh">
        <ul>
            <li>
                <label for="xzzh_yhm"><span id="qdbt">*</span>用户名:</label>
                <input id="xzzh_yhm" type="text" name="name"/>
                
            </li>
            <li>
                <label for="xzzh_zh"><span id="qdbt">*</span>账号:</label>
                <input id="xzzh_zh" type="text" name="account"/>
                
            </li>
            <li>
                <label for="xzzh_mm"><span id="qdbt">*</span>密码:</label>
                <input id="xzzh_mm" type="text" name="password"/>
                
            </li>
            
            <li>
                <label><span id="qdbt">*</span>权限:</label>
                <select id="xzzh_qx" name="qx">
                    <option value="0">普通用户</option>
                    <option value="1">测试权限</option>
                    <option value="2">超级管理员</option>
                </select>
            </li>
            <li>
                <label><span id="qdbt">*</span>状态:</label>
                <select id="xzzh_zt" name="zt">
                    <option value="0">启用</option>
                    <option value="1">禁用</option>
                </select>
            </li>
        </ul>
         <button  type="button" class="qd" id="xzzh_btn">确定</button> 
    </div>
    </form>
</div>

<script src="__PUBLIC__/ymn_admin/js/jquery-1.11.2.min.js"></script>

<script src="__PUBLIC__/ymn_admin/js/admin.js"></script>
</body>
</html>